package com.lemon.smartsafetynew.entity.patrol;

/**
 * Created by Andrew on 2017/8/17.
 */

public class SafePatrolGetTaskBo {

    public enum State {

        to_do("1", "待执行"),
        doing("2", "执行中"),
        done("3", "已完成"),
        over_time("4", "已超时");

        private String value;
        private String desc;

        private State(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }


    public enum Status {

        normal("1", "正常"),
        error("2", "异常"),
        yellow("3", "黄灯");

        private String value;
        private String desc;

        private Status(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }

}
